package com.bw.paper.mvp.view.Activity;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

import com.bw.paper.R;

public class PeopleValuesActivity extends AppCompatActivity
        implements View.OnClickListener {


    private ImageView peopleValuesBack;
    private ImageView peopleValuesShare;
    private ImageView peopleValuesHeadimg;
    private TextView peopleValuesName;
    private TextView peopleValuesAttestation;
    private TextView peopleValuesIntro;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_people_values);

        initView();

    }

    private void initView() {
        peopleValuesBack = (ImageView) findViewById(R.id.people_values_back);
        peopleValuesShare = (ImageView) findViewById(R.id.people_values_share);
        peopleValuesHeadimg = (ImageView) findViewById(R.id.people_values_headimg);
        peopleValuesName = (TextView) findViewById(R.id.people_values_name);
        peopleValuesAttestation = (TextView) findViewById(R.id.people_values_attestation);
        peopleValuesIntro = (TextView) findViewById(R.id.people_values_intro);

        peopleValuesBack.setOnClickListener(this::onClick);

    }

    @Override
    public void onClick(View v) {
        int id = v.getId();
        if (id==R.id.people_values_back){
            finish();

        }

    }
}